{% if dropdown_settings_common_edit == 1 %}
    {% if room.persistantRoom or not room.endTimestamp or room.endTimestamp > date().timestamp %}
        <li><a href="{{ path('room_new',{'id':room.id}) }}"
               class="loadContent dropdown-item moderator-edit">
                <i class="fa fa-edit"></i>
                {{ 'Bearbeiten'|trans }}</a></li>
    {% endif %}
{% endif %}
{% include('optionsWidget/optionsExtraApps.html.twig') with {'room':room} %}

{% if getApplicationProperties('DROPDOWN_SETTINGS_DOWNLOAD_PDF') == 1 %}
    <li><a href="{{ path('app_download_sumary',{'room':room.id}) }}"
           target="_blank"
           class="dropdown-item">
            <i class="fa-solid fa-file-pdf"></i>
            {{ 'PDF Download'|trans }}</a></li>
{% endif %}


{% if dropdown_settings_common_duplicate == 1 %}
    <li><a href="{{ path('room_clone',{'room':room.id}) }}"
           class="loadContent dropdown-item">
            <i class="fa fa-copy"></i>
            {{ 'Duplizieren'|trans }}</a></li>
{% endif %}
{% if not room.persistantRoom and room.totalOpenRooms != true %}
    {% if dropdown_settings_series_new == 1 %}
        <li><a class="dropdown-item loadContent"
               href="{{ path('repeater_new',{'room':room.id}) }}">
                <i class="fa fa-repeat"></i>
                {{ 'Neue Serien Termin'|trans }}</a></li>
    {% endif %}
{% endif %}
{% if room.public and room.totalOpenRooms != true %}
    {% if dropdown_settings_common_share_links == 1 %}
        <li><a class="dropdown-item loadContent"
               href="{{ path('share_link',{'id':room.id}) }}">
                <i class="fa-solid fa-link"></i>
                {{ 'Einladungslinks'|trans }}</a></li>
    {% endif %}
{% endif %}


{% if dropdown_settings_generate_report == 1 %}
    <li><a class="dropdown-item loadContent {% if room.roomstatuses|length == 0 %}disabled{% endif %}"
           href="{{ path('app_report_create',{'id':room.id}) }}">
            <i class="fa-solid fa-timeline"></i>
            {{ 'report.dropdown.item'|trans }}</a>
    </li>
{% endif %}


    {% if dropdown_settings_mail_to_all == 1 %}
        <li><a class="dropdown-item"
               href="mailto:?bcc={% for u in room.user %}{{ u.email }}{% if not loop.last %};{% endif %}{% endfor %}">
                <i class="fa fa-envelope"></i>
                {{ 'Mail an die Teilnehmer'|trans }}</a></li>
    {% endif %}

  {% if getApplicationProperties('DROPDOWN_SETTINGS_SEND_PROTOCOLL') == 1 %}
      <li>
          <a href="{{ path('app_send_summary',{'id':room.id}) }}"
             class=" dropdown-item confirmHref" data-text="{{ 'room.option.sendProtokoll.question'|trans }}">
              <i class="fas fa-solid fa-paper-plane"></i>{{ 'room.option.sendProtokoll.button'|trans }}
          </a>
      </li>
  {% endif %}



{% if dropdown_settings_common_delete == 1 %}
    {% include('dashboard/widget/__room_delete_menu.html.twig') with {'room':room} %}
{% endif %}
